package com.mmm.feign.client;

import com.mmm.common.vo.SuccessVo;
import com.mmm.user.entity.Delivery;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * @email 1067559930@qq.com
 * @author: One
 * @date: 2023/02/14
 * @time: 16:15
 */
@FeignClient("UserService")
public interface DeliveryClient {
    @GetMapping("delivery/list/{id}")
     SuccessVo<List<Delivery>> list(@PathVariable Long id);
}
